package com.bwie.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_coupon")
public class Coupon implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 优惠卷id
     */
    @TableField(value = "coupon_id")
    private String couponId;

    /**
     * 优惠卷名称
     */
    @TableField(value = "coupon_name")
    private String couponName;

    /**
     * 活动时间
     */
    @TableField(value = "event_time")
    private String eventTime;

    /**
     * 卷类型
     */
    @TableField(value = "coupon_type")
    private String couponType;

    /**
     * 发放数量
     */
    @TableField(value = "grand_num")
    private Integer grandNum;

    /**
     * 领取数量
     */
    @TableField(value = "get_num")
    private Integer getNum;

    /**
     * 剩余数量
     */
    @TableField(value = "Remaining_num")
    private Integer remainingNum;

    /**
     * 使用数量
     */
    @TableField(value = "use_num")
    private Integer useNum;

    /**
     * 商品范围
     */
    @TableField(value = "goods_scope")
    private String goodsScope;

    /**
     * 活动品牌
     */
    @TableField(value = "event_brand")
    private String eventBrand;

    /**
     * 活动端口
     */
    @TableField(value = "event_port")
    private String eventPort;

    /**
     * 活动状态
     */
    @TableField(value = "event_status")
    private Integer eventStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private String createTime;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private String createUser;
}